import {getToken} from '@/utils/auth'
import config from "@/config";

const token = getToken().replace('Bearer ', '');
const Upload = {
    //上传地址
    uploadUrl: config.baseUrl + '/common/upload',
    //header
    headers: {
        Authorization: token
    }
}
export default Upload